#! /bin/sh

sxhkd &

bspc monitor -d 1 2 3 4 5 6 7 8 9 10

bspc config border_width         2
bspc config window_gap          5

bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      false
bspc config remove_disabled_monitors true
bspc config remove_unplugged_monitors true
bspc config top_padding 30
bspc config left_padding 5
bspc config right_padding 5
bspc config bottom_padding 5
bspc config focused_border_color "#1ABB9B"
bspc config normal_border_color "#222D32"
bspc config presel_feedback_color "#1ABB9B"

bspc config focus_follows_pointer true

bspc rule -a Lxappearance state=floating center=true
bspc rule -a Pavucontrol state=floating center=true
bspc rule -a file-roller state=floating center=true
bspc rule -a Spotify state=pseudo_tiled
bspc rule -a file-roller state=pseudo_tiled
bspc rule -a Viewnior state=floating center=true
bspc rule -a gcolor2 state=floating center=true
bspc rule -a conky sticky=on manage=off lower=on
bspc rule -a astime sticky=on
bspc rule -a yad state=floating
bspc rule -a Docky layer=above border=off manage=on
bspc rule -a Plank layer=above border=off manage=on
bspc rule -a chromium private=on
bspc rule -a Thunar state=floating center=true

bspc config external_rules_command /usr/bin/pseudo_automatic_mode

$HOME/.config/polybar/launch.sh &
picom -b --config ~/.config/picom.conf &
pamac-tray &
/usr/lib/xfce4/notifyd/xfce4-notifyd &
nitrogen --restore &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
xfce4-power-manager &
xfce4-clipman &
nm-applet &
xset -dpms s off

